package com.czl.information.entity;/**
 * Created by msi on 2018/12/16.
 */

import java.io.Serializable;
import java.util.Date;

/**
 * @program: showmessage
 * @description:
 * @author: Mr.Hao
 * @create: 2018-12-16 17:53
 **/
public class tbAttributeValue implements Serializable {
    private String  strAttributeValueId;
    private String  strAttributeId;
    private String  strName;
    private String  strCreateId;
    private String  strUpdateId;
    private Date dtCreateTime;
    private Date dtUpdateTime;

    public tbAttributeValue() {
    }

    public tbAttributeValue(String strAttributeValueId, String strAttributeId, String strName, String strCreateId, String strUpdateId, Date dtCreateTime, Date dtUpdateTime) {

        this.strAttributeValueId = strAttributeValueId;
        this.strAttributeId = strAttributeId;
        this.strName = strName;
        this.strCreateId = strCreateId;
        this.strUpdateId = strUpdateId;
        this.dtCreateTime = dtCreateTime;
        this.dtUpdateTime = dtUpdateTime;
    }

    public String getStrAttributeValueId() {

        return strAttributeValueId;
    }

    public void setStrAttributeValueId(String strAttributeValueId) {
        this.strAttributeValueId = strAttributeValueId;
    }

    public String getStrAttributeId() {
        return strAttributeId;
    }

    public void setStrAttributeId(String strAttributeId) {
        this.strAttributeId = strAttributeId;
    }

    public String getStrName() {
        return strName;
    }

    public void setStrName(String strName) {
        this.strName = strName;
    }

    public String getStrCreateId() {
        return strCreateId;
    }

    public void setStrCreateId(String strCreateId) {
        this.strCreateId = strCreateId;
    }

    public String getStrUpdateId() {
        return strUpdateId;
    }

    public void setStrUpdateId(String strUpdateId) {
        this.strUpdateId = strUpdateId;
    }

    public Date getDtCreateTime() {
        return dtCreateTime;
    }

    public void setDtCreateTime(Date dtCreateTime) {
        this.dtCreateTime = dtCreateTime;
    }

    public Date getDtUpdateTime() {
        return dtUpdateTime;
    }

    public void setDtUpdateTime(Date dtUpdateTime) {
        this.dtUpdateTime = dtUpdateTime;
    }

    @Override
    public String toString() {
        return "tbAttributeValue{" +
                "strAttributeValueId='" + strAttributeValueId + '\'' +
                ", strAttributeId='" + strAttributeId + '\'' +
                ", strName='" + strName + '\'' +
                ", strCreateId='" + strCreateId + '\'' +
                ", strUpdateId='" + strUpdateId + '\'' +
                ", dtCreateTime=" + dtCreateTime +
                ", dtUpdateTime=" + dtUpdateTime +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        tbAttributeValue that = (tbAttributeValue) o;

        if (strAttributeValueId != null ? !strAttributeValueId.equals(that.strAttributeValueId) : that.strAttributeValueId != null)
            return false;
        if (strAttributeId != null ? !strAttributeId.equals(that.strAttributeId) : that.strAttributeId != null)
            return false;
        if (strName != null ? !strName.equals(that.strName) : that.strName != null) return false;
        if (strCreateId != null ? !strCreateId.equals(that.strCreateId) : that.strCreateId != null) return false;
        if (strUpdateId != null ? !strUpdateId.equals(that.strUpdateId) : that.strUpdateId != null) return false;
        if (dtCreateTime != null ? !dtCreateTime.equals(that.dtCreateTime) : that.dtCreateTime != null) return false;
        return dtUpdateTime != null ? dtUpdateTime.equals(that.dtUpdateTime) : that.dtUpdateTime == null;
    }

    @Override
    public int hashCode() {
        int result = strAttributeValueId != null ? strAttributeValueId.hashCode() : 0;
        result = 31 * result + (strAttributeId != null ? strAttributeId.hashCode() : 0);
        result = 31 * result + (strName != null ? strName.hashCode() : 0);
        result = 31 * result + (strCreateId != null ? strCreateId.hashCode() : 0);
        result = 31 * result + (strUpdateId != null ? strUpdateId.hashCode() : 0);
        result = 31 * result + (dtCreateTime != null ? dtCreateTime.hashCode() : 0);
        result = 31 * result + (dtUpdateTime != null ? dtUpdateTime.hashCode() : 0);
        return result;
    }
}
